package com.heima.model.admin.dtos;

import com.heima.model.common.dtos.PageRequestDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuditDto extends PageRequestDto {
    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    private Short status;

    /**
     * 关键字
     */
    @NotNull(message = "关键字不能为空")
    private String title;
}
